From 680212efe4c7382bc47dacde14588c8244655c2a Mon Sep 17 00:00:00 2001 From: Jimi Xenidis Date: Thu, 14 Sep 2006 22:06:15 -0400 Subject: [PATCH] [POWERPC][XEN] Fix infinite loop caused by hdec storm This was the cause of the periodic hang on secondary processors that has been holding back the submission of the SMP patch. Signed-off-by: Amos Waterland Signed-off-by: Hollis Blanchard --- xen/arch/powerpc/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/powerpc/time.c b/xen/arch/powerpc/time.c index 1811985199..184e07e54d 100644 --- a/xen/arch/powerpc/time.c +++ b/xen/arch/powerpc/time.c @@ -60,7 +60,7 @@ int reprogram_timer(s_time_t timeout) s_time_t expire; if (timeout == 0) { - expire = 0; + expire = INT_MAX; } else { s_time_t now; -- 2.30.2